import Vue from 'vue';
import VueRouter from "vue-router";
import User from "@/view/User";
import Home from "@/view/Home";
import NotFount from "@/view/NotFount";
Vue.use(VueRouter);
const routes = [
    {
        path: "/user",
        component: User
    },
    {
        path: "/",
        component: Home
    },
    {
        path: "*",
        component: NotFount
    }
]
const router = new VueRouter({
    routes: routes
});
export default router;